package cn.ulc.socket.weapp.service;

import cn.ulc.common.model.param.PaginationParam;
import cn.ulc.socket.weapp.model.dto.GoodsSkuDTO;
import cn.ulc.socket.weapp.model.dto.GoodsTypeListDTO;
import cn.ulc.socket.weapp.model.dto.GoodsDTO;
import cn.ulc.socket.weapp.model.dto.GoodsListDTO;

public interface GoodsService {

    GoodsTypeListDTO findTypeList(Long id);

    GoodsTypeListDTO findTypeListByParentId(Long id);

    GoodsSkuDTO findSku(Long goodsId);

    GoodsListDTO findList(Long typeId,String searchKey, PaginationParam param);
    GoodsListDTO findNewGoodsList(Long id);

    GoodsDTO findDetail(String barCode);


}
